<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template match="contest">

<TABLE class="body" cellSpacing="0" cellPadding="0"  border="0" width="100%">
	<TR> 
		<TD width="8"><IMG height="8" src="/imgs/pvts/box-tl.gif" width="8" border="0"/></TD>
		<TD width="100%" background="/imgs/pvts/box-t-back.gif" bgcolor="white"></TD>
		<TD width="8"><IMG height="8" src="/imgs/pvts/box-tr.gif" width="8" border="0"/></TD>
	</TR>
</TABLE>
<TABLE class="body" cellSpacing="0" cellPadding="0"  border="0" width="100%">
	<TR vAlign="top"> 
		<TD width="100%" align="center" style="border-left:1px solid #aaaaaa;border-right:1px solid #aaaaaa;  padding-bottom:15px;" bgcolor="white">
			<a style="text-decoration:none;" href="/gallery/activitiesTop1000.aspx">Foto degli eventi</a>
		</TD>
	</TR>
	<TR vAlign="top"> 
		<TD style="border-left:1px solid #aaaaaa;border-right:1px solid #aaaaaa;" width="100%" align="center" bgcolor="white">
			<xsl:for-each select="pic[position() &lt; 4]">

			<div><a href="/gallery/activitiesTop1000.aspx"><img border="0" src="http://imgs.goparty.it/gallery/thumb/{@picname}"/></a></div>

			</xsl:for-each>
		</TD>
	</TR>
	<TR vAlign="top"> 
		<TD style="border-left:1px solid #aaaaaa;border-right:1px solid #aaaaaa; padding-right:10px; padding-top:15px;" width="100%" align="right" bgcolor="white">
			<a style="text-decoration:underline;" href="/gallery/activitiesTop1000.aspx">segue...</a>
		</TD>
	</TR>
</TABLE>
<TABLE class="body" cellSpacing="0" cellPadding="0"  border="0" width="100%">
	<TR> 
		<TD width="8"><IMG height="8" src="/imgs/pvts/box-bl.gif" width="8" border="0"/></TD>
		<TD width="100%" background="/imgs/pvts/box-b.gif" bgcolor="white"><IMG height="8" src="/imgs/pvts/box-b.gif" width="10" border="0"/></TD>
		<TD width="8"><IMG height="8" src="/imgs/pvts/box-br.gif" width="8" border="0"/></TD>
	</TR>
</TABLE>


</xsl:template>

</xsl:stylesheet>